<template>
  <div class="layout-page">
    <router-view />

    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/article">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/looking">找房</van-tabbar-item>
      <van-tabbar-item icon="newspaper-o" to="/information"
        >资讯</van-tabbar-item
      >
      <van-tabbar-item icon="user-o" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "layout-page",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="less" scoped></style>
